package AdapterMode;

//组合（对象适配器，常用）
public class Adapter2 implements NetToUSB{

    private NetLine netLine;

    public Adapter2(NetLine netLine) {
        this.netLine = netLine;
    }

    //这样也是可以实现上网的
    @Override
    public void handlerRequest() {
        netLine.request();
    }
}
